package exsun.jt808.data.upload_data;

public enum FenceType {
    /// <summary>
    /// 无区域
    /// </summary>
    None(0),
    /// <summary>
    /// 圆形
    /// </summary>
    Round(1),

    /// <summary>
    /// 矩形区域
    /// </summary>
    Rectangle(2),

    /// <summary>
    /// 多边形
    /// </summary>
    Polygon(3),

    /// <summary>
    /// 路段
    /// </summary>
    Line(4);

    int index;
    FenceType(int index){
        this.index =index;
    }

    public static int GetValue(FenceType type){
        return type.index;
    }
}
